package com.hjb.lock.redis;

import com.hjb.lock.LockAspect;
import com.hjb.lock.LockTool;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 启用redis分布式锁
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import({
	RedisLockAutoConfiguration.class,
	LockAspect.class,
	LockTool.class})
public @interface EnableRedisLock{
}
